#ifndef NETWORKDETAILDIALOG_H
#define NETWORKDETAILDIALOG_H

#include <QDialog>
#include <QTableWidget>
#include <QPushButton>
#include "networkinfo.h"

class NetworkDetailDialog : public QDialog {
    Q_OBJECT
public:
    explicit NetworkDetailDialog(const ConnectionInfo &connInfo, const DeviceInfo &devInfo, QWidget *parent = nullptr);
private:
    QTableWidget *table;
    QPushButton *btnClose;
    void setupUI();
    void fillTable(const ConnectionInfo &connInfo, const DeviceInfo &devInfo);
};

#endif // NETWORKDETAILDIALOG_H 